<div class="panel panel-primary">
    <div class="panel-heading">Controlador de operaciones activos</div>
    <table class="table table-bordered table-condensed table-striped">
        <thead>
            <tr>
                <th>Nombre</th>
                <th>Acciones</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($view->controllers as $controller): ?>
                <tr>
                    <td><?php echo $controller->getFullName(); ?></td>
                    <td>
                        <?php
                        $url = array(
                            'action' => 'drivers',
                            'id' => $controller->getId(),)
                        ?>
                        <a class="btn btn-default" href="<?php echo $view->url($url); ?>">
                            Conductores
                        </a>
                        <?php
                        $url = array(
                            'action' => 'vehicles',
                            'id' => $controller->getId(),)
                        ?>
                        <a class="btn btn-default" href="<?php echo $view->url($url); ?>">
                            Vehículos
                        </a>
                        <?php
                        $url = array(
                            'action' => 'routes',
                            'id' => $controller->getId(),)
                        ?>
                        <a class="btn btn-default" href="<?php echo $view->url($url); ?>">
                            Rutas
                        </a>
                    </td>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
</div>